﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GSLMS.Services.Interface;
using GSLMS.Entity;
using GSLMS.Entity.DTO;
using GSLMS.DAL;
namespace GSLMS.Services
{
	/// <summary>
	/// 此层为服务层，已经继承了父类BaseService,已经定义好方法请查看BaseService类；若需要自定义方法请在此层增加并在数据层及接口层定义相关的方法
	/// </summary>
	public partial class SSYS_SURVEYTMPSET: BaseService<TB_SYS_SURVEYTMPSET>, ISYS_SURVEYTMPSET
	{
		private static readonly GSLMS.DAL.Oracle.SYS_SURVEYTMPSET dal = new GSLMS.DAL.Oracle.SYS_SURVEYTMPSET();
		public override BaseDAL<TB_SYS_SURVEYTMPSET> DAL
		{
			get { return dal; }
		}

        /// <summary>
        /// 通过调查系统类别和报告类别提取列表信息
        /// </summary>
        /// <param name="systemID">当为小于等于0时提取所有的1典当，2信贷，3担保</param>
        /// <param name="surveyType">小于等于0提取所有,1</param>
        /// <returns></returns>
        public List<GSLMS.Entity.TB_SYS_SURVEYTMPSET> GetListBySurveyType(int systemID, int surveyType)
        {
            return dal.GetListBySurveyType(systemID, surveyType);
        }
	}
}
